package com.wsh.generator;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsh.entity.generator.GenConfEntity;
import com.wsh.vo.generator.TablesConfVo;

import java.util.List;

public interface GenConfService extends IService<GenConfEntity> {

    /**
     * 根据表名查询表配置
     */
    Object getConfList(String tableName);

    /**
     * 代码生成
     */
    String genCode(String tableName) throws Exception;

    /**
     * 保存配置
     */
    void saveConf(TablesConfVo tablesConfVo);

    List<GenConfEntity> getGenConfList(String tableName);
}
